[ODBC Microsoft Access Driver] 标准表达式中数据类型不匹配
来源:百度知道 编辑:UC知道 时间:2024/05/18 09:58:58
dgstatus();
</SCRIPT>
<BODY oncontextmenu="return false;" oncopy=document.selection.empty(); bgColor=#1A2942 leftMargin=0 topMargin=0 onselect=document.selection.empty();><DIV align=center> <TABLE cellSpacing=1 cellPadding=0 width=150 border=0><TBODY><TR><TD colSpan=2 height=5></TD></tr>
<%
52行 Set Rs=Conn.Execute("Select * From down where hy="&clng(request("hy"))&" order by hits desc")
i = 0
Do While Not rs.EOF
i = i + 1
%>
<tr><TD vAlign=top width=5 height=10></td><TD width=145 height=20 style="word-break:break-all;">·<A href="tv/<%=rs("id")%>.htm" ><%=rs("cxn")%></a></TD></tr>
<%
rs.movenext
Loop
Set Rs=nothing
Set Conn=nothing
%>
上面的52行 说数据类型不匹配浏览器上为?hy=生活 急用
</SCRIPT>
<BODY oncontextmenu="return false;" oncopy=document.selection.empty(); bgColor=#1A2942 leftMargin=0 topMargin=0 onselect=document.selection.empty();><DIV align=center> <TABLE cellSpacing=1 cellPadding=0 width=150 border=0><TBODY><TR><TD colSpan=2 height=5></TD></tr>
<%
52行 Set Rs=Conn.Execute("Select * From down where hy="&clng(request("hy"))&" order by hits desc")
i = 0
Do While Not rs.EOF
i = i + 1
%>
<tr><TD vAlign=top width=5 height=10></td><TD width=145 height=20 style="word-break:break-all;">·<A href="tv/<%=rs("id")%>.htm" ><%=rs("cxn")%></a></TD></tr>
<%
rs.movenext
Loop
Set Rs=nothing
Set Conn=nothing
%>
上面的52行 说数据类型不匹配浏览器上为?hy=生活 急用
Set Rs=Conn.Execute("Select * From down where hy="&clng(request("hy"))&" order by hits desc")
数据库中hy字段和request("hy")不符.request("hy")应是文本类型.将数据库中HY改成文本类型.
八懂
[Microsoft][ODBC Microsoft Access Driver]常见错误
[Microsoft][ODBC Microsoft Access Driver]驱动出错
ODBC数据源管理器中无microsoft odbc for oracle
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)[Microsoft][ODBC Microsoft Access Driver] ?
[ODBC Microsoft Access Driver] 内存溢出
[microsoft][odbc microsoft access driver]参数不足,期待是1
[Microsoft][ODBC Microsoft Access Driver] 参数不足,期待是 1。
[Microsoft][ODBC Microsoft Access Driver] 语法错误 (操作符丢失)
[Microsoft][ODBC Microsoft Access Driver] 无效的 SQL语句
[Microsoft][ODBC Microsoft Access Driver] 参数不足,期待是 2